<%- @page_title = _("Viewing Files Uploaded for %s", h(@teaching.title)) -%>
<h2><%= @page_title %></h2>
<%- unless @groups.empty? -%>
  <%- @groups.each do |g| -%>
    <h3><%= h(g.name) %></h3>
    <%= render :partial => "uploads/uploads", :object => g.uploads, :locals => {:project => @project, :teaching => @teaching, :group => g} %>
  <%- end -%>
<%- else -%>
  <p><%= _("No group has been added, yet.") %></p>
<%- end -%>
<hr />
<%= link_to(_("&laquo; Back to class"), class_path(@project, @teaching)) %>